<template>
  <div class="home">
    <router-view></router-view>
    <van-tabbar route>
      <van-tabbar-item class="item" to="/home/bussiness">
        <template #icon>
          <span class="iconfont icon-building-fill"></span>
        </template>
        公司</van-tabbar-item
      >
      <van-tabbar-item class="item" to="/home/question">
        <template #icon>
          <span class="iconfont icon-editor"></span>
        </template>
        刷题</van-tabbar-item
      >
      <van-tabbar-item class="item" to="/home/find">
        <template #icon>
          <span class="iconfont icon-find"></span>
        </template>
        发现</van-tabbar-item
      >
      <van-tabbar-item class="item" to="/home/my">
        <template #icon>
          <span class="iconfont icon-User"></span>
        </template>
        我的</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data () {
    return {}
  }
}
</script>

<style lang="less" scoped>
.home {
  .item {
    font-size: 14px;
    color: #999;
    span {
      font-size: 24px;
    }
  }
  .van-tabbar-item--active {
    color: #e40137;
  }
}
</style>
